package cn.kgc.evaluate.service.openfeign;

import cn.kgc.evaluate.entity.dto.UsersDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("ucenter")
public interface UsersService {

    @GetMapping("/est/api/user/token")
    public UsersDto getLoginByToken(@RequestParam String token);

}
